#! /bin/sh

name=libxdamage
version=1.1.6
revision=1
tarball_url="https://www.x.org/archive/individual/lib/libXdamage-${version}.tar.gz"
tarball_blake2b="e8fcdbb3b93b7f3a74b10adbb4ceaccc963c7f9ce4fe0edee5842fde7d26cbb2cf3061f073c9ca400baa8378d06ed83c8c751495febb1aeb86a27058d74b1543"
hostdeps="gcc pkg-config"
deps="core-libs xorg-proto libx11 libxfixes"

prepare() {
    autotools_recursive_regen
}

configure() {
    autotools_configure
}

build() {
    make -j${parallelism}
}

package() {
    DESTDIR="${dest_dir}" make install

    post_package_strip
}
